export ARCH = arm64
export CROSS_COMPILE = aarch64-linux-gnu-

obj-m := multi_devices.o

KDIR  := /home/lubancat/LubanCat_SDK/kernel

PWD   ?= $(shell pwd)



all:
	make -C $(KDIR) M=$(PWD) modules

clean:
	make -C $(KDIR) M=$(PWD) clean

multi_app:multi_app.c
	aarch64-linux-gnu-gcc -o $@ $^

multi_app_clean:
	rm multi_app